import http from '../utils/http/http'

//获取管理员列表
export const getAdminList = (params)=>{
    return http.get('/adminManage/getAdminList',params)
}

//改变权限
export const updateAuthority = (params)=>{
    return http.post('/adminManage/updateAuthority',params)
}

//搜索管理员
export const searchAdmin = (params)=>{
    return http.post('/adminManage/searchAdmin',params)
}

// 搜索用户
export const searchUser = (params)=>{
    return http.post('/adminManage/searchUser',params)
}